//
//  NXMCommuMainViewController.swift
//  AnneKit-Swift
//
//  Created by 宁小陌 on 2021/2/3.
//  Copyright © 2021 宁小陌. All rights reserved.
//

import UIKit

class NXMCommuMainViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
        NXMUILog(parameter: kStatusBarHeight)
        self.view.backgroundColor = UIColor.kViewColorNormal
        if isIphoneX() {
            NXMUILog(parameter: "isIphoneX")
        }else{
            NXMUILog(parameter: "isIphoneX个锤子")
        }
        let label = UILabel(frame:CGRect(x:30,y:100,width:200,height:40))
        label.backgroundColor = UIColor.cyan;
        label.text = "社区 "
        label.textColor = UIColor.red
        label.font = UIFont.kFontSizeMedium14
        
        label.textAlignment = .center
        label.numberOfLines = 0
//        label.shadowColor = UIColor.gray
//
//        label.shadowOffset = CGSize(width:1.5,height:1.5)
        self.view.addSubview(label)
    }


}

